package springmvc.common;

public class JsonResult {

	public JsonResult() {
		this.message = "";
		this.data = null;
		this.Code =0;
	}

	private String message;

	/**
	 *  1:成功  ;-1 失败
	 */
	private int Code;
	
	private Object data;

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getCode() {
		return Code;
	}

	public void setCode(int code) {
		this.Code = code;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}


	
}